<?php
class GameStatisticsBeatsAction extends SzAbstractAction
{
    protected $paramTypes = array(
        SzAbstractAction::TYPE_INT
    );

    /**
     * 统计新心跳接口
     * 每一分钟调用一次将
     * @param int $userId
     * @return SzResponse
     */
    public function execute($userId)
    {
        return $this->buildResponse(
            GameService::get()->getUserLive()
        );
    }
}